package com.clone.surpassli.clone_cloudreader.utils;

import android.util.Log;

/**
 * Created by SurpassLi on 2017/9/29.
 * DebugUtil
 */
public class DebugUtil {
    public static final String TAG = "DebugUtil";
    public static final boolean DEBUG = true;


    public static void debug(String tag, String content){
        if (DEBUG) {
            Log.d(tag, content);
        }
    }

    public static void error(String tag, String content){
        if (DEBUG) {
            Log.e(tag, content);
        }
    }

    public static void error(String content){
        if (DEBUG) {
            Log.e(TAG, content);
        }
    }
}